package cn.edu.just.firstjavaapp.l4;

public class Student {
    private String no;
    String name;
    int age;

    public Student() {
    }

    public Student(String no, String name, int age) {
        this.no = no;
        this.name = name;
        this.age = age;
    }
    public void print(){
        System.out.println("学号："+no+" 姓名:"+name+" 年龄:"+age);
    }
}


